﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.DomainModels;
using VOL.Team.Comm;

namespace VOL.Team.TeamIservices.MaterialManagement.IServices
{
    /// <summary>
    /// 物料管理-物料台账
    /// </summary>
    public interface IMaterialLedgersService
    {
        /// <summary>
        /// 查询物料台账-xzc
        /// </summary>
        /// <returns></returns>
        IQueryable<MaterialLedger> GetMaterialLedger(string? qecode);
        /// <summary>  vb cn vc000000000000000000000000000000000000000000000000000000000000000000000
        /// 新增物料台账-xzc
        /// </summary>
        /// <param name="materialledger"></param>
        /// <returns></returns>
        Task<int> AddMaterialLedger(MaterialLedger materialledger);
        /// <summary>
        /// 更新物料台账-xzc
        /// </summary>
        /// <param name="materialledger"></param>
        /// <returns></returns>
        Task<int> UpdateMaterialLedger(MaterialLedger materialledger);
        /// <summary>
        /// 删除物料台账-xzc
        /// </summary>
        /// <param name="materialledger"></param>
        /// <returns></returns>
        Task<int> DeleteMaterialLedger(int id);
        /// <summary>
        /// 批量删除物料台账
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Task<int> DeleteAnageMaterialLedger(string Id);
    }
}
